var tmp = 123;
if(true) {
  console.log(tmp)
  let tmp;
}